{% extends "layouts/application.html" %}
{% block content %}
<div align="center">
<DIV class=boxright>
  <DIV class=bltop2>
    <div align="left">
      <strong>
        &nbsp;&nbsp;&nbsp;当前位置：&nbsp;&nbsp;<a href="/resource/show_resource/">资料库</a>&nbsp;&nbsp;<img src="/site_media/image/zd_arrow.gif">&nbsp;&nbsp;<a href="{{obj.get_first_url}}">{{obj}}</a>
      </strong>
    </div>
  </DIV>
  <DIV class=c_box>
    <br/>
    <DIV class="rep_left">
      <table width="100%" >
          {% if resource_list %}
          {% for resource in resource_list%}
          <td align="center">
            <table>
              <tr>
                <td align="center">
                  <a  href="{{resource.get_second_url}}">
                    <img  height='100px' width='100px' src='{{resource.get_img_url}}' style='border: none;'>
                  </a>
                </td>
              </tr>
              <tr>
                <td><p align="center">{{resource}}</p></td>
              </tr>
            </table>
          </td>
            {% ifequal forloop.counter 3%}
            <tr></tr>
            {% endifequal %}
            {% endfor %}
            {% else %}
            Sorry,this catalag is no anythings! Please return your page,and reflush again!
            {% endif %}
      </table>
    </DIV>
  </DIV>
</div>
{% endblock %}